package com.ruoyi.community.service;

import java.util.List;

import com.ruoyi.common.core.domain.entity.SysUser;
import com.ruoyi.community.domain.BaseActivityRegisterRequest;
import com.ruoyi.community.domain.CpcActivityEnroll;

/**
 * 党建活动报名Service接口
 * 
 * @author ruoyi
 * @date 2021-12-22
 */
public interface ICpcActivityEnrollService 
{
    public CpcActivityEnroll selectCpcActivityEnrollById(String id);

    public List<CpcActivityEnroll> selectCpcActivityEnrollList(CpcActivityEnroll cpcActivityEnroll);

    // 查询活动id对应的报名记录
    public List<SysUser> selectCpcActivityEnrollListById(String id);

    public int insertCpcActivityEnroll(CpcActivityEnroll cpcActivityEnroll);

    public boolean hasEnrolled(BaseActivityRegisterRequest baseActivityRegisterRequest);

    public int updateCpcActivityEnroll(CpcActivityEnroll cpcActivityEnroll);

    public int deleteCpcActivityEnrollByIds(String[] ids);

    public int deleteCpcActivityEnrollById(String id);
}
